/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author aluno
 */
public class Receita {
    private int    id;
    private String name;
    private String categoria;
    private String ingredientes;
    private Integer val_nutri;
    private String clue;
    private Float time;
    private Float avg;
    private String status;
    private Usuario usuario; 
    private Set comentarios = new HashSet();
    private Set notas = new HashSet();

    

    public Receita(String name, String categoria, String ingredientes, Integer val_nutri, String clue, Float time, Float avg, String status) {
        this.categoria = categoria;
        this.name = name;
        this.ingredientes = ingredientes;
        this.val_nutri = val_nutri;
        this.clue = clue;
        this.time = time;
        this.avg = avg;
        this.status = status;
    }
    
    
    public Usuario getUsuario() {
        return usuario;
    }

    public void setUsuario(Usuario usuario) {
        this.usuario = usuario;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Receita() {
    }

   

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategoria() {
        return categoria;
    }

    public void setCategoria(String categoria) {
        this.categoria = categoria;
    }

    public String getIngredientes() {
        return ingredientes;
    }

    public void setIngredientes(String ingredientes) {
        this.ingredientes = ingredientes;
    }

    public Integer getVal_nutri() {
        return val_nutri;
    }

    public void setVal_nutri(Integer val_nutri) {
        this.val_nutri = val_nutri;
    }

    public String getClue() {
        return clue;
    }

    public void setClue(String clue) {
        this.clue = clue;
    }

    public Float getTime() {
        return time;
    }

    public void setTime(Float time) {
        this.time = time;
    }

    public Float getAvg() {
        return avg;
    }

    public void setAvg(Float avg) {
        this.avg = avg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    
    public Set getComentarios() {
        return comentarios;
    }

    public void setComentarios(Set comentarios) {
        this.comentarios = comentarios;
    }


    public Set getNotas() {
        return notas;
    }

    public void setNotas(Set notas) {
        this.notas = notas;
    }
    
    

}
